package com.fanfan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fanfan.pojo.Menu;
import com.fanfan.pojo.domain.ResponseResult;
import com.fanfan.pojo.vo.MenuDto;
import com.fanfan.pojo.vo.MenuVo;

import java.util.List;

/**
 * 菜单权限表(Menu)表服务接口
 *
 * @author fansea
 * @since 2023-02-24 14:00:17
 */
public interface MenuService extends IService<Menu> {

     List<String> selectPermsByUserId(Long id);

    List<Menu> selectRouterMenuTreeByUserId(Long userId);

    ResponseResult listMenu(MenuVo menuVo);

    List<MenuDto> treeSelectMenu();

    ResponseResult roleMenuTreeSelect(Long id);
}

